Finding the Modular Inverse